package third;

public class five_26 {
    public static void main(String[] args) {
        for(int k=10000;k<=100000;k+=10000) {
            double e = 2.00;
            double item = 1.00;
            for (int i = 2; i <= k; i++) {
                item = item * (1.00 / i);
                e += item;
            }

            System.out.println(e);
        }


    }
}
